    <div class="layui-card-body" style="line-height: 36px;font-size: 14px;" id="printing">
        <style>.layui-layer-content{height: 650px  }</style>
        <div class="layui-row margin-bottom-12">
            <label class="layui-col-xs4 think-form-label">领用编号：{$info.id}</label>
            <label class="layui-col-xs2"></label>
            <label class="layui-col-xs4 think-form-label">领用名称：{$info.plan_title}</label>
        </div>
        <div class="layui-row margin-bottom-15">
        </div>
        <div class="layui-row margin-bottom-12">
            <label class="layui-col-xs4 think-form-label">申报时间：{$info.create_at|default=''}</label>
            <label class="layui-col-xs2"></label>
            <label class="layui-col-xs4 think-form-label">申报人：{$info.admin_name|default=''}</label>
        </div>
        <div class="layui-row margin-bottom-15">
        </div>
        <div class="layui-row margin-bottom-15">
            {if $info.status eq -1}
            <label class="layui-col-xs4 think-form-label">拒绝原因：{$info.to_reason|default=''}</label>
            <label class="layui-col-xs2"></label>
            {/if}
            <label class="layui-col-xs4 think-form-label" style="color: red">当前流程：{if $info.plan_status eq 2}计划已提交，物流配送中心---{/if}
            {if $info.plan_status eq 3}物流配送中心已通过，业务科室---{/if}
            {if $info.plan_status eq 4}业务科室已通过，精益化管理部---{/if}
                {if $info.status eq 0}审核中{/if}
                {if $info.status eq 1}已通过{/if}
                {if $info.status eq -1}已拒绝{/if}</label>
        </div>
        <div class="layui-row margin-bottom-12">
            <button id="btn" class="layui-btn" type='submit' style="float: right;">导  出</button>
        </div>
        <div class="layui-row margin-bottom-15">
            <table class="layui-table margin-top-10 table2excel" lay-skin="line" id='dataInfo' lay-filter="demo">
                <thead>
                <tr>
                    <th class="text-center">编号</th>
                    <th class="text-center">名称</th>
                    <th class="text-center">型号</th>
                    <th class="text-center">单位</th>
                    <th class="text-center">价格</th>
                    <th class="text-center">数量</th>
                    <th class="text-center">金额</th>
                </tr>
                </thead>
                <tbody id="one_add">
                <style>
                    th{text-align: center;}
                    .burds{width:80%;height:28px;text-align: center;border: none;}
                </style>
                {foreach $plan_list as $k=>$v}
                <tr>
                    <td class='text-center'>{$v.material_code|default=''}</td>
                    <td class='text-center'>{$v.material_name|default=''}</td>
                    <td class='text-center'>{$v.material_model|default=''}</td>
                    <td class='text-center'>{$v.material_unit|default=''}</td>
                    <td class='text-center'>{$v.material_price|default=''}</td>
                    <td class='text-center'>{$v.material_num|default=''}</td>
                    <td class='text-center'>{$v.material_price * $v.material_num}</td>
                </tr>
                {/foreach}
                <tr>
                    <td class='text-center'>总计</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td class='text-center' id="total">{$total}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="hr-line-dashed"></div>
    <div class="layui-form-item text-center">
        <button class="layui-btn layui-btn-danger"  onclick="doPrint()" type="button">打印本页</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <button class="layui-btn layui-layer-close layui-layer-close1" type='submit'>关闭</button>
    </div>
    <script src="__ROOT__/static/jquery.table2excel.js"></script>
    <script>
        $(function() {
            $("#btn").click(function(){
                $(".table2excel").table2excel({
                    exclude: ".noExl",
                    name: "1111",
                    filename: "{$info.admin_name}"+"{$info.plan_title}",
                    exclude_img: true,
                    exclude_links: true,
                    exclude_inputs: true
                });
            });
        });
    </script>
    <script src="http://www.jq22.com/jquery/jquery-migrate-1.2.1.min.js"></script>
    <script>
        function doPrint() {
            $("#printing").jqprint();
        }
    </script>